package com.maxmlr.feign.controller;

import com.maxmlr.feign.inter.FeignService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author maxiao
 * @ClassName TestController
 * @Description //TODO $
 * @Date $ $
 * @desc
 **/
@RequestMapping("test")
@RestController
public class TestController {

    @Autowired
    private FeignService feignService;

    @RequestMapping
    public String getString() {
        return feignService.getTest();
    }

}
